package com.yxw.live_vod_boot.dto;



import com.yxw.live_vod_boot.entity.YxLiveActivityProductsEntity;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.NotEmpty;
import java.util.List;
import java.io.Serializable;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
//import lombok.EqualsAndHashCode;



/*** 
*@author Jiaxu.Huang
*@date 2023/12/12 15:52:17
*@update 2023/12/12 15:52:17
**/
@Data
//@EqualsAndHashCode(callSuper = true)
public class YxLiveActivityProductsAddDTO   implements Serializable
{
    private static final long serialVersionUID = 41702367537884L;

    /**
    *直播申请Id
    */
    @NotBlank(message = "直播申请Id不可为空")
    @ApiModelProperty(value = "直播申请Id")
    private String liveApplyId;
    /**
    *产品列表
    */
    @NotEmpty(message = "产品列表不可为空")
    @ApiModelProperty(value = "产品列表")
    private List<YxLiveActivityProductsEntity> productList;
    /*
    public YxLiveActivityProductsEntity ConverToEntity2()
    {
        YxLiveActivityProductsEntity oYxLiveActivityProductsEntity = new YxLiveActivityProductsEntity ();
        oYxLiveActivityProductsEntity.setId(Id) ;
        oYxLiveActivityProductsEntity.setChannelCode(channelCode) ;
        oYxLiveActivityProductsEntity.setLiveShopId(liveShopId) ;
        oYxLiveActivityProductsEntity.setShopId(shopId) ;
        oYxLiveActivityProductsEntity.setLiveApplyId(liveApplyId) ;
        oYxLiveActivityProductsEntity.setProductId(productId) ;
        oYxLiveActivityProductsEntity.setProductType(productType) ;
        oYxLiveActivityProductsEntity.setProductName(productName) ;
        oYxLiveActivityProductsEntity.setProductOrder(productOrder) ;
        oYxLiveActivityProductsEntity.setProductMainPicture(productMainPicture) ;
        oYxLiveActivityProductsEntity.setProductDetailPicture(productDetailPicture) ;
        oYxLiveActivityProductsEntity.setProductLinkSku(productLinkSku) ;
        oYxLiveActivityProductsEntity.setProductPrice(productPrice) ;
        oYxLiveActivityProductsEntity.setProductLivePrice(productLivePrice) ;
        oYxLiveActivityProductsEntity.setProductNumber(productNumber) ;
        oYxLiveActivityProductsEntity.setProductRemainderNumber(productRemainderNumber) ;
        oYxLiveActivityProductsEntity.setPopupShowDuration(popupShowDuration) ;
        oYxLiveActivityProductsEntity.setProductDetail(productDetail) ;
        oYxLiveActivityProductsEntity.setCategoryId(categoryId) ;
        oYxLiveActivityProductsEntity.setCategoryName(categoryName) ;
        oYxLiveActivityProductsEntity.setSpecificationValues(specificationValues) ;
        oYxLiveActivityProductsEntity.setCreateTime(createTime) ;
        oYxLiveActivityProductsEntity.setUpdateTime(updateTime) ;
        return oYxLiveActivityProductsEntity;
    }  
*/
}

